#ifndef MYQSS_H
#define MYQSS_H
#include <QString>
//播放按钮样式
inline QString playStyle()
{
    return "QPushButton{ \
                background-image:url(:/images/play.png); \
                background-repeat:no-repeat; \
                background-position:center center; \
                border:none; \
            } \
            QPushButton#playBtn:hover{ \
                background-image:url(:/images/play-hover.png); \
                background-repeat:no-repeat; \
                background-position:center center; \
            } \
            QPushButton:pressed{ \
                background-image:url(:/images/play.png); \
                background-repeat:no-repeat; \
                background-position:center center; \
            }";
}
//暂停按钮样式
inline QString PaseStyle()
{
    return "QPushButton"
   " {"
   "background-image:url(:/image/image/image/pase.png);"
 "   background-repeat:no-repeat;"
  "  background-position:center center;"
 "   border:none;"

"    }"

    "QPushButton:hover{"
  "  background-repeat:no-repeat;"
 "   background-position:center center;"
 "background-image:url(:/image/image/image-hover/pase-hover.png);"

   " }"
   " QPushButton:pressed{"
    "background-repeat:no-repeat;"
   " background-position:center center;"
   " background-image:url(:/image/image/image/pase.png);"

     "}";
}

#endif // MYQSS_H
